![]() |
SNAP - 01 OPENING QUESTIONS: Please take a few moments to go to our classroom Slide Deck and tell me a bit about yourself (Pick a slide and edit out my info and put your own in there instead!)
OBJECTIVE: I will be able to write a basic SNAP program after today's class. WORD FOR TODAY:
WORK O' THE DAY: Practice logging onto SNAP -- Please use your school ID Only. Make sure you are logged on. SNAP will work just fine without you being actually logged on to the system, the bad news is that you can't save your work. Idetify each of our words o' the day:
Spend a few minutes playing with SNAP. Notice how the blocks can be dragged and dropped into the 'scripting area'.
Take a look at THIS lab sheet and work UP TO (but not including) Part 5: Position on Stage ═══════════════════ Consider basic 'sprite' commands:
Notice again that in SNAP the shape of the blocks, the color of the blocks and whether there is a jigsaw-puzzle-like notch in the block are ALL important indicators of the functionality of that block. For your first forray into sprite, take a few moments to draw a box -- any ol' box, any size, any color but please make sure you draw a SQUARE box.
═══════════════════ Doesyour code look something like this?:
Notice that each block SNAPs into place with the blocks above and below. What do you do if the block doesn't SNAP into place? (Notice that the last command is a bit extraneous... I added that in there to sort of kick the sprite up and out of the way so that I can see the entire box) Notice the orientation of your sprite. The point of the arrow will always show the current direction the sprite is pointing. Now see if you can create a hexagon! (Hint: An important skill is to use the duplicate action... move your cursor over the section you want to duplicate, hit the right mouse key and select "duplicate") Think you're ready for a bit more extensive practice? Consider going HERE to the studyguide page. ══════════════════════════ If time permits, let's take another look at the STAGE:
|